<%@page import="util.Constants"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    String severityID = (String) session.getAttribute("severityID");
    String name = (String) session.getAttribute("name");
    String description = (String) session.getAttribute("description");
%>
<div id="inputform">
    <div class="row">
        <span class="label">ID</span>
        <input class="value" type="text" readonly="readonly" contenteditable="false" maxlength="2" name="severityID"
               value="<%=severityID%>"/>
    </div>
    <div class="row">
        <span class="label">Name</span>
        <input class="value" type="text" maxlength="20" name="name" value="<%=name%>"/>
    </div>
    <div class="row">
        <span class="label">Description</span>
        <input class="value" type="text" maxlength="120"  name="description" 
               value="<%=description%>"/>
    </div>
    <div class="row">
        <a onclick="doAction(frmIndex, '<%=Constants.ADMIN_PAGE_NAME%>',
            '<%=Constants.SEVERITY_PAGE_NAME%>', '<%=Constants.SEVERITY_LIST%>',
            '<%=Constants.EDIT%>')">Save</a>
    </div>
</div>